/**
 * 
 */
package org.intelligentsia.artifacts;

import org.intelligentsia.artifacts.repository.metadata.Metadata;

/**
 * @author geronimo
 * 
 */
public interface ArtifactsService {

	/**
	 * Downloads specified artifact from repositories.
	 * 
	 * @param identifier
	 *            artefact identifier
	 * @return Resource instance.
	 */
	public Resource get(ArtifactIdentifier identifier);

	/**
	 * 
	 * @param artefactIdentifier
	 * @return
	 */
	public Metadata getMetadata(ArtifactIdentifier artefactIdentifier);

}
